package com.human.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.human.entity.Empsalary;
import com.baomidou.mybatisplus.extension.service.IService;
import com.human.entity.ResultVo;

/**
 * <p>
 * 员工工资 服务类
 * </p>
 *
 * @author jzq
 * @since 2023-03-07
 */
public interface IEmpsalaryService extends IService<Empsalary> {

    ResultVo<Page> page(int current, int pageSize, String name);

    ResultVo getEmpSalaryById(Integer id);

    ResultVo getAll();

    ResultVo addEmpsalary(Empsalary empsalary);

    ResultVo updateEmpsalary(Empsalary empsalary);

    ResultVo deleteEmpsalaryById(Integer id);

}
